/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package WebServer;

/**
 *
 * @author sestari
 */
import javax.ws.rs.core.StreamingOutput;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;

@Path("/customers")
public interface CustomerResource {

    @GET
    @Path("{numero}--{segnalo}")
    @Produces("application/xml")
    public StreamingOutput getCustomer(@PathParam("numero") String numero,
            @PathParam("segnalo") String segnalo);
}